package com.yqb.study.constant.key.redis;

/**
 * 用于给各个存入redis中的session对象设置统一前缀，并配置统一过期时间
 */
public class RedisSessionKey extends BasePrefix {
	
	// redis中存放该变量的key对应过期秒数
	public static final int EXPIRE_TIME = 3600 * 12;
	
	private RedisSessionKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}

	public static RedisSessionKey sessionToken = new RedisSessionKey(EXPIRE_TIME, "session_token_");
}
